package me.imli.app;

import org.androidannotations.annotations.AfterInject;
import org.androidannotations.annotations.EApplication;

import android.app.Application;
import android.content.Context;

@EApplication
public class App extends Application {

	private static App mApp;
	private static Context mContext;
	
	@AfterInject
	void init() {
		mApp = this;
		mContext = getApplicationContext();
	}
	
	public static Application getApplication() {
		return mApp;
	}

	public static Context getContext() {
		return mContext;
	}
	
	
}
